﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using WebBanThuoc.DAO;
using WebBanThuoc.DTO;
using WebBanThuoc.Server;


namespace WebBanThuoc
{
    public partial class GioiThieu : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

            getData();

        }
        void getData()
        {
            IServerWeb sw = new ServerWeb();
            NoiDungHienThi_DAO daoND = new NoiDungHienThi_DAO(sw.Connection);
            NoiDungHienThi gt = daoND.getByKey("ThongTinGioiThieu");
            Session.Add("gt", gt);
            sw.closeConnection();
        }
    }
}